Skip to content

Record release provenance: resolve r_commit and core_commit - #18

Merged
OVVO-Financial merged 3 commits into
mainfrom
claude/intelligent-johnson-6ctwxv
Jun 14, 2026
Merged

Record release provenance: resolve r_commit and core_commit#18
OVVO-Financial merged 3 commits into
mainfrom
claude/intelligent-johnson-6ctwxv

Conversation

@OVVO-Financial

Copy link
Copy Markdown
Owner

What

Fills in the two unknown provenance SHAs in sync/nns_source.json, resolved rigorously by matching the vendored bytes to upstream git history (not guesswork):

Field Resolved How
r_commit 905b8bbd42b3236bf88aba7f18df7a9a378dbd7b The OVVO-Financial/NNS commit that introduced the exact vendored tools/NNS_13.0.tar.gz blob (320143…); its parent carried a different tarball (246c9a…). On NNS-Beta-Version, Version 13.0 / Date 2026-06-10, Packaged: 2026-06-11 03:14 UTC.
core_commit 7f93df9dff8762df870c1fbba6e03c0469be6e69 The OVVO-Financial/NNS-core commit that authored the exact vendored extern/NNS-core include/src/CMakeLists objects; its parent had different include/src. A later commit (cfc25a34) carries the byte-identical core forward.

The pre-existing r_src_tree_hash (654e411…) was verified to equal the local tools/NNS/src tree hash.

Effect

scripts/check_release_provenance.py now passes for a real tagged release (previously it blocked tagged releases while these read unknown).

Test change

test_unknown_provenance_fails_real_release previously ran the gate against the committed manifest and depended on it carrying placeholder provenance. It now points at a fixture manifest, so it still verifies the unknown-provenance failure path without coupling to the real manifest's state. All 9 provenance/manifest tests pass; ruff clean.

Note on core_commit: 7f93df9d (content-authoring commit) and cfc25a34 (newest carrier on main) have byte-identical vendored core. I recorded the authoring commit for consistency with how r_commit was pinned; easy to switch to cfc25a34 if your convention is to record the synced branch tip.

https://claude.ai/code/session_012bjk4Y5eT1Sva8tNJjqUSw


Generated by Claude Code

claude added 3 commits June 14, 2026 14:29
cibuildwheel defaults the x86_64 macOS deployment target to 10.9, but
nanobind's C++17 runtime uses aligned new/delete which requires macOS
10.13+. Every macOS wheel job failed to compile nanobind (nb_type.cpp:
'aligned deallocation function ... only available on macOS 10.13 or
newer'). Pin the deployment target to 10.14 for the macOS builds.
cibuildwheel's default Linux image is manylinux2014 (glibc 2.17), but
numpy/scipy only publish manylinux_2_27/_2_28 wheels. In the glibc 2.17
test container those wheels are incompatible, so pip falls back to
compiling scipy from source, which needs OpenBLAS/Fortran that aren't
present, and the wheel smoke-test fails. Our runtime deps already require
glibc >= 2.27, so manylinux2014 wheels were never installable anyway.

Build and test the x86_64 Linux wheels on manylinux_2_28 to match the
dependencies' wheel floor. musllinux_1_2 (the cibuildwheel default) is
pinned explicitly; it already has matching numpy/scipy wheels.
Resolve the two placeholder SHAs in sync/nns_source.json by matching the
vendored bytes to upstream history:

- r_commit 905b8bbd: the OVVO-Financial/NNS commit that introduced the
  exact vendored tools/NNS_13.0.tar.gz blob (parent carried a different
  tarball). Version 13.0 / Date 2026-06-10, Packaged 2026-06-11 03:14 UTC.
- core_commit 7f93df9d: the OVVO-Financial/NNS-core commit that authored
  the exact vendored extern/NNS-core include/src/CMakeLists objects (its
  parent had different include/src). A later commit carries the identical
  core forward unchanged.

The release provenance gate now passes for a real tagged release.

test_unknown_provenance_fails_real_release previously ran the gate against
the committed manifest and relied on it carrying placeholder provenance.
Point it at a fixture manifest so it tests the unknown-provenance failure
behavior without depending on the real manifest being unfilled.
@OVVO-Financial
OVVO-Financial merged commit 29cb3e1 into main Jun 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants